function synapse_dim_reduce(wts)

    dissimilarities = pdist(wts);
    % Use non-metric scaling to recreate the data in 2D, and make a
    % Shepard plot of the results.
    [Y,stress,disparities] = mdscale(dissimilarities,2);
    plot(Y(:,1),Y(:,2),'.-')
    title('MDScale dimensionality reduction plot of weights.');
